# This is a sample Python script.
from Utils import *

path = './Data'
path1 = './Decompressed'

# Press the green button in the gutter to run the script.
if __name__ == '__main__':

    rate, time, index = Compress(path)

    plot_compress_target(rate, index, threshold=6, verbose=True, adverse=False)

    plot_compress_target(time, index, threshold=6, verbose=False, adverse=False)

    de_time, index = Decompress(path1)

    plot_compress_target(de_time, index, threshold=6, verbose=False, adverse=True)

    sum_rate = Compare_algorithm(path)

    plot_compress_target(sum_rate, index, threshold=6, verbose=True, adverse=False)